package com.neusoft.model;

import java.util.ArrayList;
import java.util.List;

import com.neusoft.model.entity.Books;
import com.neusoft.model.entity.User;

/**
 * 统一返回值类型
 * @author Administrator
 *
 */
public class BooksModel extends Books{

	//书籍总数
	int total;
//	int status;//0：未借未预；1：已借未预；2：已借已预；3：未借已预
	int numOfBorrowAbled;//可借数
	int numOfAtLibrary;//在馆数
	boolean renewable;
	String dateToString;
	String deadlineToString;
	public String getDateToString() {
		return dateToString;
	}

	public String getDeadlineToString() {
		return deadlineToString;
	}

	public void setDeadlineToString(String deadlineToString) {
		this.deadlineToString = deadlineToString;
	}

	public void setDateToString(String dateToString) {
		this.dateToString = dateToString;
	}

	public boolean isRenewable() {
		return renewable;
	}

	public void setRenewable(boolean renewable) {
		this.renewable = renewable;
	}

	public int getTotal() {
		return total;
	}
	 
	public int getNumOfBorrowAbled() {
		return numOfBorrowAbled;
	}
	public void setNumOfBorrowAbled(int numOfBorrowAbled) {
		this.numOfBorrowAbled = numOfBorrowAbled;
	}
	public int getNumOfAtLibrary() {
		return numOfAtLibrary;
	}
	public void setNumOfAtLibrary(int numOfAtLibrary) {
		this.numOfAtLibrary = numOfAtLibrary;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public List<Books> getRows() {
		return rows;
	}
	public void setRows(List<Books> rows) {
		this.rows = rows;
	}
	//接受书籍列表
	List<Books> rows=new ArrayList<Books>();


	
}
